package org.jash.mvp2206.news;

import org.jash.mvp2206.entity.DetailEntity;
import org.jash.mvp2206.mvp.BaseModel;

import io.reactivex.rxjava3.core.Observable;

public class DetailModel extends BaseModel implements Construct.IDetailModel {
    @Override
    public Observable<DetailEntity> getNewsDetail(int id) {
        return server.getNewsDetail(id);
    }
}
